package module

import "time"

/*
*  -*- coding:utf8 -*-
*
*
*
*  @Author  : chengms
*  @WebSite : chengms.com
*  @Email   : chengms2012@163.com
*  @TIME    : 2020/8/16 下午9:09
*  @File    : user.go
 */

type UserInfo struct {
    UserId      int         `gorm:"primary_key"`
    UserName    string      `gorm:"type:varchar(30);not null;"`
    UserPasswd  string      `gorm:"type:varchar(30);not null;"`
    Email       string      `gorm:"type:varchar(40);not null;index:email_idx"`
    UserStatus  int         `gorm:"not null"`
    CreatAt     time.Time
}


